﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Windows.Media.Imaging;

namespace wpf_test
{
    public class Contact
    {
        public string Name { get; set; }
        public string Department { get; set; }
        public string Category { get; set; }
        public string Owner { get; set; }
        public BitmapImage Logo { get; set; }

        public static IEnumerable<Contact> GetContacts()
        {
            BitmapImage img1 = new BitmapImage( new Uri(@"C:\Documents and Settings\Christian\My Documents\My Pictures\audrey image 3.jpg") );
            yield return new Contact() { Name = "SuperLand", Category = "Software", Owner = "Une Amundsen", Logo = img1 };
            yield return new Contact() { Name = "Microsoft", Category = "Software", Owner = "Bill Gates", Logo = img1 };
            yield return new Contact() { Name = "Q-Meierier", Category = "Milk", Owner = "Cows Come Home", Logo = img1 };
        }
    }


}
